def rectangle():
    a = int(input("请输入矩形的长():"))
    b = int(input("请输入矩形的宽():"))
    s = a*b
    c = 2*(a+b)
    print("该矩形面积为：", s)
    print("该矩形周长为：", c)
rectangle()